package com.yoso.shop.application.service;
import com.yoso.shop.domain.user.admin.AdminEntity;
import com.yoso.shop.domain.user.admin.AdminEntityExample;
import com.yoso.shop.infrastructure.base.service.IBaseService;
import com.yoso.shop.interfaces.vo.user.admin.AdminVo;

/**
 * @author yuluo
 * @date 2021-06-25 11:06
 */
public interface IAdminService extends IBaseService<AdminEntity, AdminEntityExample> {
    /**
     * 管理员登录
     * @param admin 管理员
     * @return
     */
    AdminVo login(AdminEntity admin);


    /**
     * 模糊查询,查询姓名
     */
    //int getCount(String a_username);

    /**
     * 显示分页的方法
     */
    //List<AdminEntity> list(String a_username, Page<AdminEntity> page);

    //AdminEntity login(int u_id);

 //   void add(AdminEntity admin);

//    void del(int id);

//    void update(AdminEntity admin);
}
